home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…tion Library 4 (Reseller) / Apple Ref. & Pres. Lib.v4.0.iso / 4-Demos / Apple Demos / Tutorials / Display Card 4•8⁄8•24 Training / Display Card 4•8_8•24 Training / card_94951.txt < prev    next >
Text File  |  1990-03-19  |  6KB  |  293 lines

  1. -- card: 94951 from stack: in
  2. -- bmap block id: 95605
  3. -- flags: 0000
  4. -- background id: 95066
  5. -- name: content 7
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global mapLoc, cardLoc
  9.   set hilite of bg btn "content 7" to true
  10.   if cardloc < 8 then
  11.     if maploc = "test" then
  12.       set hilite of cd btn ("test" && cardLoc) to true
  13.     end if
  14.   end if
  15. end opencard
  16.  
  17. on closeCard
  18.   global mapLoc, cardLoc
  19.   set hilite of bg btn "content 7" to false
  20.   if maploc = "test" then
  21.     if cardloc < 8 then
  22.       set hilite of cd btn ("test" && cardLoc) to false
  23.     end if
  24.   end if
  25. end closeCard
  26.  
  27.  
  28.  
  29. -- part 1 (field)
  30. -- low flags: 01
  31. -- high flags: 2000
  32. -- rect: left=171 top=139 right=276 bottom=317
  33. -- title width / last selected line: 0
  34. -- icon id / first selected line: 0 / 0
  35. -- text alignment: 0
  36. -- font id: 3
  37. -- text size: 9
  38. -- style flags: 0
  39. -- line height: 16
  40. -- part name: 
  41.  
  42.  
  43. -- part 2 (button)
  44. -- low flags: 00
  45. -- high flags: 2002
  46. -- rect: left=151 top=145 right=158 bottom=174
  47. -- title width / last selected line: 0
  48. -- icon id / first selected line: 0 / 0
  49. -- text alignment: 1
  50. -- font id: 0
  51. -- text size: 12
  52. -- style flags: 0
  53. -- line height: 16
  54. -- part name: test 0
  55. ----- HyperTalk script -----
  56. on mouseUp
  57.   push card
  58.   visual effect dissolve
  59.   go card "test 0"
  60. end mouseUp
  61.  
  62.  
  63.  
  64.  
  65. -- part 4 (button)
  66. -- low flags: 00
  67. -- high flags: 2002
  68. -- rect: left=151 top=161 right=174 bottom=174
  69. -- title width / last selected line: 0
  70. -- icon id / first selected line: 0 / 0
  71. -- text alignment: 1
  72. -- font id: 0
  73. -- text size: 12
  74. -- style flags: 0
  75. -- line height: 16
  76. -- part name: test 1
  77. ----- HyperTalk script -----
  78. on mouseUp
  79.   push card
  80.   visual effect dissolve
  81.   go card "test 1"
  82. end mouseUp
  83.  
  84.  
  85.  
  86.  
  87. -- part 5 (button)
  88. -- low flags: 00
  89. -- high flags: 2002
  90. -- rect: left=151 top=177 right=190 bottom=174
  91. -- title width / last selected line: 0
  92. -- icon id / first selected line: 0 / 0
  93. -- text alignment: 1
  94. -- font id: 0
  95. -- text size: 12
  96. -- style flags: 0
  97. -- line height: 16
  98. -- part name: test 2
  99. ----- HyperTalk script -----
  100. on mouseUp
  101.   push card
  102.   visual effect dissolve
  103.   go card "test 2"
  104. end mouseUp
  105.  
  106.  
  107.  
  108.  
  109. -- part 6 (button)
  110. -- low flags: 00
  111. -- high flags: 2002
  112. -- rect: left=151 top=193 right=206 bottom=174
  113. -- title width / last selected line: 0
  114. -- icon id / first selected line: 0 / 0
  115. -- text alignment: 1
  116. -- font id: 0
  117. -- text size: 12
  118. -- style flags: 0
  119. -- line height: 16
  120. -- part name: test 3
  121. ----- HyperTalk script -----
  122. on mouseUp
  123.   push card
  124.   visual effect dissolve
  125.   go card "test 3"
  126. end mouseUp
  127.  
  128.  
  129.  
  130.  
  131. -- part 7 (button)
  132. -- low flags: 00
  133. -- high flags: 2002
  134. -- rect: left=151 top=209 right=222 bottom=174
  135. -- title width / last selected line: 0
  136. -- icon id / first selected line: 0 / 0
  137. -- text alignment: 1
  138. -- font id: 0
  139. -- text size: 12
  140. -- style flags: 0
  141. -- line height: 16
  142. -- part name: test 4
  143. ----- HyperTalk script -----
  144. on mouseUp
  145.   push card
  146.   visual effect dissolve
  147.   go card "test 4"
  148. end mouseUp
  149.  
  150.  
  151.  
  152.  
  153. -- part 9 (button)
  154. -- low flags: 00
  155. -- high flags: 2002
  156. -- rect: left=151 top=225 right=238 bottom=174
  157. -- title width / last selected line: 0
  158. -- icon id / first selected line: 0 / 0
  159. -- text alignment: 1
  160. -- font id: 0
  161. -- text size: 12
  162. -- style flags: 0
  163. -- line height: 16
  164. -- part name: q&a 5
  165. ----- HyperTalk script -----
  166. on mouseUp
  167.   push card
  168.   visual effect dissolve
  169.   go card "qa 1"
  170. end mouseUp
  171.  
  172.  
  173.  
  174.  
  175. -- part 11 (button)
  176. -- low flags: 00
  177. -- high flags: 2002
  178. -- rect: left=152 top=241 right=254 bottom=175
  179. -- title width / last selected line: 0
  180. -- icon id / first selected line: 0 / 0
  181. -- text alignment: 1
  182. -- font id: 0
  183. -- text size: 12
  184. -- style flags: 0
  185. -- line height: 16
  186. -- part name: test 7
  187. ----- HyperTalk script -----
  188. on mouseUp
  189.   push card
  190.   visual effect dissolve
  191.   go card "test 7"
  192. end mouseUp
  193.  
  194.  
  195.  
  196.  
  197. -- part 25 (button)
  198. -- low flags: 00
  199. -- high flags: 0001
  200. -- rect: left=456 top=317 right=342 bottom=484
  201. -- title width / last selected line: 0
  202. -- icon id / first selected line: 18622 / 18622
  203. -- text alignment: 1
  204. -- font id: 0
  205. -- text size: 12
  206. -- style flags: 0
  207. -- line height: 16
  208. -- part name: next
  209. ----- HyperTalk script -----
  210. on mouseUp
  211.   answer "Click on a card in this section or the map." with "Help" or "OK"
  212.   if it is "Help" then
  213.     push card
  214.     send closecard to this card
  215.     visual dissolve
  216.     go card "help 2"
  217.   else exit mouseUp
  218. end mouseUp
  219.  
  220.  
  221.  
  222. -- part 26 (button)
  223. -- low flags: 00
  224. -- high flags: 2002
  225. -- rect: left=24 top=307 right=319 bottom=36
  226. -- title width / last selected line: 0
  227. -- icon id / first selected line: 0 / 0
  228. -- text alignment: 1
  229. -- font id: 0
  230. -- text size: 12
  231. -- style flags: 0
  232. -- line height: 16
  233. -- part name: content 0
  234. ----- HyperTalk script -----
  235. on mouseUp
  236.   push card
  237.   visual dissolve
  238.   go card "content 0"
  239. end mouseUp
  240.  
  241.  
  242.  
  243. -- part 27 (button)
  244. -- low flags: 00
  245. -- high flags: 2002
  246. -- rect: left=42 top=307 right=319 bottom=54
  247. -- title width / last selected line: 0
  248. -- icon id / first selected line: 0 / 0
  249. -- text alignment: 1
  250. -- font id: 0
  251. -- text size: 12
  252. -- style flags: 0
  253. -- line height: 16
  254. -- part name: content 8
  255. ----- HyperTalk script -----
  256. on mouseUp
  257.   push card
  258.   visual effect dissolve
  259.   go card "content 6"
  260.  
  261. end mouseUp
  262.  
  263.  
  264.  
  265. -- part contents for background part 1
  266. ----- text -----
  267. Macintosh Display Card 4‚Ä¢8 and 8‚Ä¢24
  268.  
  269. -- part contents for background part 2
  270. ----- text -----
  271. Stack Contents
  272.  
  273. -- part contents for background part 8
  274. ----- text -----
  275. content7
  276.  
  277. -- part contents for background part 11
  278. ----- text -----
  279. Click any card to go there, a highlighted card indicates where you just came from.
  280.  
  281. -- part contents for background part 12
  282. ----- text -----
  283. Training Evaluation
  284.  
  285. -- part contents for card part 1
  286. ----- text -----
  287. Introduction
  288. Features and Advantages #1
  289. Features and Advantages #2
  290. Compatibility (Software)
  291. Compatibility (Hardware)
  292. Questions and Answers
  293. Score Card